package com.example.takeaway.constant;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author 邢晨旭
 * {@code @date} 2023/10/22
 */
@Getter
@AllArgsConstructor
public enum PayStatusEnum {
    //支付状态(-1:支付失败,0:待支付, 1:已支付, 2:已退款)
    FAILED(-1, "支付失败"),
    WAITING(0, "待支付"),
    PAID(1, "已支付"),
    REFUNDED(2, "已退款");

    private final Integer code;
    private final String desc;
}
